Warning: include(/home/plovdivskinovini/public_html/libraries/src/Language/Language.php): Failed to open stream: No such file or directory in /home/plovdivskinovini/public_html/libraries/vendor/composer/ClassLoader.php on line 576 Warning: include(/home/plovdivskinovini/public_html/libraries/src/Language/Language.php): Failed to open stream: No such file or directory in /home/plovdivskinovini/public_html/libraries/vendor/composer/ClassLoader.php on line 576 Warning: include(): Failed opening '/home/plovdivskinovini/public_html/libraries/vendor/composer/../../../libraries/src/Language/Language.php' for inclusion (include_path='.:/usr/local/apps/php82/lib/php') in /home/plovdivskinovini/public_html/libraries/vendor/composer/ClassLoader.php on line 576 Warning: include(/home/plovdivskinovini/public_html/libraries/src/Language/Language.php): Failed to open stream: No such file or directory in /home/plovdivskinovini/public_html/libraries/vendor/composer/ClassLoader.php on line 576 Warning: include(/home/plovdivskinovini/public_html/libraries/src/Language/Language.php): Failed to open stream: No such file or directory in /home/plovdivskinovini/public_html/libraries/vendor/composer/ClassLoader.php on line 576 Warning: include(): Failed opening '/home/plovdivskinovini/public_html/libraries/vendor/composer/../../../libraries/src/Language/Language.php' for inclusion (include_path='.:/usr/local/apps/php82/lib/php') in /home/plovdivskinovini/public_html/libraries/vendor/composer/ClassLoader.php on line 576 Attempted to load class "Language" from namespace "Joomla\CMS\Language". Did you forget a "use" statement for another namespace? (500 Whoops, looks like something went wrong.)

Error ClassNotFoundError

HTTP 500 Whoops, looks like something went wrong.

Attempted to load class "Language" from namespace "Joomla\CMS\Language".
Did you forget a "use" statement for another namespace?

Exceptions 2

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

  1.      *
  2.      * @since   4.0.0
  3.      */
  4.     public function createLanguage($lang$debug false): Language
  5.     {
  6.         return new Language($lang$debug);
  7.     }
  8. }
LanguageFactory->createLanguage('bg-BG', false) in /home/plovdivskinovini/public_html/libraries/src/Language/CachingLanguageFactory.php (line 45)
  1.      * @since   4.0.0
  2.      */
  3.     public function createLanguage($lang$debug false): Language
  4.     {
  5.         if (!isset(self::$languages[$lang $debug])) {
  6.             self::$languages[$lang $debug] = parent::createLanguage($lang$debug);
  7.         }
  8.         return self::$languages[$lang $debug];
  9.     }
  10. }
CachingLanguageFactory->createLanguage('bg-BG', false) in /home/plovdivskinovini/public_html/libraries/src/Factory.php (line 745)
  1.         );
  2.         $conf   self::getConfig();
  3.         $locale $conf->get('language');
  4.         $debug  $conf->get('debug_lang');
  5.         $lang   self::getContainer()->get(LanguageFactoryInterface::class)->createLanguage($locale$debug);
  6.         return $lang;
  7.     }
  8.     /**
  1.             ),
  2.             E_USER_DEPRECATED
  3.         );
  4.         if (!self::$language) {
  5.             self::$language self::createLanguage();
  6.         }
  7.         return self::$language;
  8.     }
  1.      */
  2.     public function __construct($options = [])
  3.     {
  4.         // Extract the internal dependencies before calling the parent constructor since it calls $this->load()
  5.         $this->app      = isset($options['app']) && $options['app'] instanceof CMSApplication $options['app'] : Factory::getApplication();
  6.         $this->language = isset($options['language']) && $options['language'] instanceof Language $options['language'] : Factory::getLanguage();
  7.         if (!isset($options['db']) || !($options['db'] instanceof DatabaseDriver)) {
  8.             @trigger_error('Database will be mandatory in 5.0.'E_USER_DEPRECATED);
  9.             $options['db'] = Factory::getContainer()->get(DatabaseDriver::class);
  10.         }
SiteMenu->__construct(array('app' => object(SiteApplication), 'db' => object(MysqliDriver))) in /home/plovdivskinovini/public_html/libraries/src/Menu/MenuFactory.php (line 55)
  1.         if (!\array_key_exists('db'$options)) {
  2.             $options['db'] = $this->getDatabase();
  3.         }
  4.         $instance = new $classname($options);
  5.         if ($instance instanceof CacheControllerFactoryAwareInterface) {
  6.             $instance->setCacheControllerFactory($this->getCacheControllerFactory());
  7.         }
MenuFactory->createMenu('site', array('app' => object(SiteApplication), 'db' => object(MysqliDriver))) in /home/plovdivskinovini/public_html/libraries/src/Application/CMSApplication.php (line 590)
  1.         if ($this->menuFactory === null) {
  2.             @trigger_error('Menu factory must be set in 5.0'E_USER_DEPRECATED);
  3.             $this->menuFactory $this->getContainer()->get(MenuFactoryInterface::class);
  4.         }
  5.         $this->menus[$name] = $this->menuFactory->createMenu($name$options);
  6.         // Make sure the abstract menu has the instance too, is needed for BC and will be removed with version 5
  7.         AbstractMenu::$instances[$name] = $this->menus[$name];
  8.         return $this->menus[$name];
  1.             return $this->template->template;
  2.         }
  3.         // Get the id of the active menu item
  4.         $menu $this->getMenu();
  5.         $item $menu->getActive();
  6.         if (!$item) {
  7.             $item $menu->getItem($this->input->getInt('Itemid'null));
  8.         }
  1.     public function render(\Throwable $error): string
  2.     {
  3.         $app Factory::getApplication();
  4.         // Get the current template from the application
  5.         $template $app->getTemplate(true);
  6.         // Push the error object into the document
  7.         $this->getDocument()->setError($error);
  8.         // Add registry file for the template asset
  1.                     'subject'  => $app,
  2.                     'document' => $renderer->getDocument(),
  3.                 ])
  4.             );
  5.             $data $renderer->render($error);
  6.             // If nothing was rendered, just use the message from the Exception
  7.             if (empty($data)) {
  8.                 $data $error->getMessage();
  9.             }
  1.      * @since   3.10.0
  2.      */
  3.     public static function handleException(\Throwable $error)
  4.     {
  5.         static::logException($error);
  6.         static::render($error);
  7.     }
  8.     /**
  9.      * Render the error page based on an exception.
  10.      *
ExceptionHandler::handleException(object(Error)) in /home/plovdivskinovini/public_html/libraries/src/Application/CMSApplication.php (line 334)
  1.             );
  2.             // Trigger the onError event.
  3.             $this->dispatchEvent('onError'$event);
  4.             ExceptionHandler::handleException($event->getError());
  5.         }
  6.         // Trigger the onBeforeRespond event.
  7.         $this->dispatchEvent(
  8.             'onBeforeRespond',
CMSApplication->execute() in /home/plovdivskinovini/public_html/includes/app.php (line 58)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/plovdivskinovini/public_html/includes/app.php') in /home/plovdivskinovini/public_html/index.php (line 51)
  1.     // ... die
  2.     die();
  3. }
  4. // Run the application - All executable code should be triggered through this file
  5. require_once __DIR__ '/includes/app.php';

Error

Class "Joomla\CMS\Language\Language" not found

  1.      *
  2.      * @since   4.0.0
  3.      */
  4.     public function createLanguage($lang$debug false): Language
  5.     {
  6.         return new Language($lang$debug);
  7.     }
  8. }
LanguageFactory->createLanguage('bg-BG', false) in /home/plovdivskinovini/public_html/libraries/src/Language/CachingLanguageFactory.php (line 45)
  1.      * @since   4.0.0
  2.      */
  3.     public function createLanguage($lang$debug false): Language
  4.     {
  5.         if (!isset(self::$languages[$lang $debug])) {
  6.             self::$languages[$lang $debug] = parent::createLanguage($lang$debug);
  7.         }
  8.         return self::$languages[$lang $debug];
  9.     }
  10. }
CachingLanguageFactory->createLanguage('bg-BG', false) in /home/plovdivskinovini/public_html/libraries/src/Application/CMSApplication.php (line 783)
  1.         if (isset($options['language'])) {
  2.             $this->set('language'$options['language']);
  3.         }
  4.         // Build our language object
  5.         $lang $this->getContainer()->get(LanguageFactoryInterface::class)->createLanguage($this->get('language'), $this->get('debug_lang'));
  6.         // Load the language to the API
  7.         $this->loadLanguage($lang);
  8.         // Register the language object with Factory
CMSApplication->initialiseApp(array('language' => 'bg-BG')) in /home/plovdivskinovini/public_html/libraries/src/Application/SiteApplication.php (line 638)
  1.                 $options['language'] = 'en-GB';
  2.             }
  3.         }
  4.         // Finish initialisation
  5.         parent::initialiseApp($options);
  6.     }
  7.     /**
  8.      * Load the library language files for the application
  9.      *
  1.      * @since   3.2
  2.      */
  3.     protected function doExecute()
  4.     {
  5.         // Initialise the application
  6.         $this->initialiseApp();
  7.         // Mark afterInitialise in the profiler.
  8.         JDEBUG $this->profiler->mark('afterInitialise') : null;
  9.         // Route the application
  1.             $this->sanityCheckSystemVariables();
  2.             $this->setupLogging();
  3.             $this->createExtensionNamespaceMap();
  4.             // Perform application routines.
  5.             $this->doExecute();
  6.             // If we have an application document object, render it.
  7.             if ($this->document instanceof \Joomla\CMS\Document\Document) {
  8.                 // Render the application output.
  9.                 $this->render();
CMSApplication->execute() in /home/plovdivskinovini/public_html/includes/app.php (line 58)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/plovdivskinovini/public_html/includes/app.php') in /home/plovdivskinovini/public_html/index.php (line 51)
  1.     // ... die
  2.     die();
  3. }
  4. // Run the application - All executable code should be triggered through this file
  5. require_once __DIR__ '/includes/app.php';

Stack Traces 2

[2/2] ClassNotFoundError
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load class "Language" from namespace "Joomla\CMS\Language".
Did you forget a "use" statement for another namespace?

  at /home/plovdivskinovini/public_html/libraries/src/Language/LanguageFactory.php:35
  at Joomla\CMS\Language\LanguageFactory->createLanguage('bg-BG', false)
     (/home/plovdivskinovini/public_html/libraries/src/Language/CachingLanguageFactory.php:45)
  at Joomla\CMS\Language\CachingLanguageFactory->createLanguage('bg-BG', false)
     (/home/plovdivskinovini/public_html/libraries/src/Factory.php:745)
  at Joomla\CMS\Factory::createLanguage()
     (/home/plovdivskinovini/public_html/libraries/src/Factory.php:305)
  at Joomla\CMS\Factory::getLanguage()
     (/home/plovdivskinovini/public_html/libraries/src/Menu/SiteMenu.php:72)
  at Joomla\CMS\Menu\SiteMenu->__construct(array('app' => object(SiteApplication), 'db' => object(MysqliDriver)))
     (/home/plovdivskinovini/public_html/libraries/src/Menu/MenuFactory.php:55)
  at Joomla\CMS\Menu\MenuFactory->createMenu('site', array('app' => object(SiteApplication), 'db' => object(MysqliDriver)))
     (/home/plovdivskinovini/public_html/libraries/src/Application/CMSApplication.php:590)
  at Joomla\CMS\Application\CMSApplication->getMenu()
     (/home/plovdivskinovini/public_html/libraries/src/Application/SiteApplication.php:425)
  at Joomla\CMS\Application\SiteApplication->getTemplate(true)
     (/home/plovdivskinovini/public_html/libraries/src/Error/Renderer/HtmlRenderer.php:50)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render(object(Error))
     (/home/plovdivskinovini/public_html/libraries/src/Exception/ExceptionHandler.php:142)
  at Joomla\CMS\Exception\ExceptionHandler::render(object(Error))
     (/home/plovdivskinovini/public_html/libraries/src/Exception/ExceptionHandler.php:76)
  at Joomla\CMS\Exception\ExceptionHandler::handleException(object(Error))
     (/home/plovdivskinovini/public_html/libraries/src/Application/CMSApplication.php:334)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/plovdivskinovini/public_html/includes/app.php:58)
  at require_once('/home/plovdivskinovini/public_html/includes/app.php')
     (/home/plovdivskinovini/public_html/index.php:51)                
[1/2] Error
Error:
Class "Joomla\CMS\Language\Language" not found

  at /home/plovdivskinovini/public_html/libraries/src/Language/LanguageFactory.php:35
  at Joomla\CMS\Language\LanguageFactory->createLanguage('bg-BG', false)
     (/home/plovdivskinovini/public_html/libraries/src/Language/CachingLanguageFactory.php:45)
  at Joomla\CMS\Language\CachingLanguageFactory->createLanguage('bg-BG', false)
     (/home/plovdivskinovini/public_html/libraries/src/Application/CMSApplication.php:783)
  at Joomla\CMS\Application\CMSApplication->initialiseApp(array('language' => 'bg-BG'))
     (/home/plovdivskinovini/public_html/libraries/src/Application/SiteApplication.php:638)
  at Joomla\CMS\Application\SiteApplication->initialiseApp()
     (/home/plovdivskinovini/public_html/libraries/src/Application/SiteApplication.php:237)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/home/plovdivskinovini/public_html/libraries/src/Application/CMSApplication.php:304)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/plovdivskinovini/public_html/includes/app.php:58)
  at require_once('/home/plovdivskinovini/public_html/includes/app.php')
     (/home/plovdivskinovini/public_html/index.php:51)